<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Refresh" content="1" />
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<% 
StringBuffer sbmes = (StringBuffer) application.getAttribute("messages"); 
if(sbmes==null)return;
%>
<%=sbmes.toString() %>
</body>
</html>